package com.dxw.entity;

public class Student {
    //学生的id
    private String sid;
    //学生的密码
    private String spassword;
    //学生的名字
    private String name;
//    学生的性别
    private String sex;
    //学生的年龄
    private int age;
    //学生的专业
    private String major;

    //空的构造方法
    public Student(){}

    public Student(String sid, String spassword, String name, String sex, int age, String major) {
        this.sid = sid;
        this.spassword = spassword;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.major = major;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String  sid) {
        this.sid = sid;
    }

    public String getSpassword() {
        return spassword;
    }

    public void setSpassword(String spassword) {
        this.spassword = spassword;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }
}
